Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow flat id to be set #45

Merged
merged 7 commits into from
Sep 25, 2024
Merged

Conversation

JackLewis-digirati
Copy link
Collaborator

@JackLewis-digirati JackLewis-digirati commented Sep 23, 2024

Resolves #24

This PR adds the ability for PUT to be used as an upsert operation, instead of just update. It does this by checking for an ID from the URL in the database, and creating a record if it can't find one

Additionally, there are changes to ETags to support using a cache over a dictionary, and allowing creation on PUT resources

Copy link
Contributor

@griffri griffri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - just a few minor things.

@JackLewis-digirati JackLewis-digirati changed the title Feature/allow flat id to be set Allow flat id to be set Sep 25, 2024
@JackLewis-digirati JackLewis-digirati merged commit 5a0128c into main Sep 25, 2024
3 checks passed
@JackLewis-digirati JackLewis-digirati deleted the feature/allowFlatIdToBeSet branch September 25, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow flat ID to be set
2 participants